#ifndef DIALOGMC_H
#define DIALOGMC_H

#include <QDialog>
#include <QProcess>
namespace Ui {
	class DialogMC;
}

class DialogMC : public QDialog
{
	Q_OBJECT

public:
	explicit DialogMC(QWidget *parent = 0);
	~DialogMC();

private slots:
	void on_pushButton_ok_clicked();
	void on_pushButton_run_clicked();
	void on_toolButton_br_python_clicked();
	void on_toolButton_br_NN_clicked();
	void on_toolButton_br_splitmodel_clicked();
	void on_toolButton_br_charmodel_clicked();
	void on_toolButton_br_test_clicked();
	void slot_readyReadOutput();
	void slot_readyReadErr();
	void slot_finished(int code);
	void slot_started();

	void on_toolButton_br_TFeaDir_triggered(QAction *arg1);

	void on_toolButton_br_TFeaDir_clicked();

protected:
	void saveIni();
	void loadIni();
	QString getFilePath(QString title,QString prefix, QString filter, bool bOpen);
private:
	Ui::DialogMC *ui;
	QProcess * m_process;
};

#endif // DIALOGMC_H
